Skip to content

xiloader 3.0 - #57

Merged
sruon merged 40 commits into
mainfrom
rewrite
Nov 5, 2026
Merged

sruon merged 40 commits into
mainfrom
rewrite

Conversation

@sruon

@sruon sruon commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Major "rewrite" aimed at cleaning up the codebase, improving the security posture and alleviate common issues with xiloader failing to start.

Code maintenance

  • Shuffled files around, organized by concepts
  • Menu provider sits behind an interface, with a simpler menu provider fallback for Wine clients who can't honor FTXUI control characters
  • Applied LSB clang-format / clang-tidy
  • Applied LSB code style: trailing returns, // comments, anonymous namespaces, kConstants
  • Bumped toolchain to C++23
  • Errors now make use of std::expected instead of throwing

New features

  • Server key check, like ssh. The first connection shows the server's key fingerprint and asks to trust it.
    • A changed key is refused before anything is sent. --fingerprint pins a key.
    • Servers on 127.x.x.x are trusted by default.
  • Trust tokens are bound to the server's key and dropped if it changes
  • --diagnose reports on the install and the server without logging in.
  • Install check before the password prompt, with a hint on what to fix.
  • Language is picked automatically when --lang is not given.
  • Each run is logged to %APPDATA%\xiloader\logs, newest ten kept.
  • The window stays open on failure when it was opened just for the loader.
  • Exit codes say what failed (listed in the README).
image image

Fixed

  • In-game PlayOnline settings now persist (Chat Language Filter / Auto-disconnect).
  • A character list arriving early is no longer lost.
  • Console messages are no longer cut at 1024 characters.
  • Failed polcore lookups stop with a message instead of crashing.

Behaviour changes

  • CLI flags now override the json file (it was the reverse).
  • An unknown --lang or a json value of the wrong type exits with code 1 instead of being ignored.
  • Existing users are asked once per server to trust its key. A launcher with nobody to answer should pass --fingerprint.

sruon added 30 commits October 10, 2026 00:34
@sruon
sruon marked this pull request as ready for review November 5, 2026 05:26
@sruon

sruon commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Undrafted.

  • Extended TLS to the remaining lobby connections
  • Handful of fixes from several rounds of reviews
  • Retested on Windows and Wine

@sruon
sruon merged commit 576ca13 into main Nov 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants